package com.wangchao.administrator.zenmechi.ui.specialactivity;

import android.content.Context;

import com.handmark.pulltorefresh.library.PullToRefreshListView;
import com.wangchao.administrator.zenmechi.bean.special.SpecialBean;

import java.util.Map;

import rx.Subscriber;

/**
 * Created by My on 2016/10/19.
 */
public class SpecialContract {
    public interface View{
        public void onSuccess(SpecialBean specialBean);
        public void onFail(Exception e);
    }

    public interface Model{
        void getNetworkDate(Subscriber<SpecialBean> subscriber, Map<String, String> stringMap);
    }

    public interface Presenter{

        void setListadpter(PullToRefreshListView pullToRefreshListView,
                           Context context);

    }
}
